package com.wl.mall.service.goods.service.impl;


import com.wl.mall.goods.entity.Category;
import com.wl.mall.service.goods.service.CategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {

    @Resource
    private CategoryService categoryService;


    @Override
    public List<Category> queryByParentId(Integer pid) {
        return categoryService.queryByParentId(pid);
    }

}
